<h2><?php echo $category->name;?></h2>

<table>
<tr>
<th></th>
<th>Item</th>
<th>Actions</th>
</tr>
<tr>
<td colspan=3>
<h3>
<?php echo Html::anchor('admin/merchmanagement/items/create/'.$category->id
		 ,'Add New Item'); ?>
</h3>
</td>
</tr>
<?php foreach($items as $item): ?>
<tr>
<td><?php echo Html::image('images/thumbs/'.$item->image->filename);?></td>
<td><?php echo $item->name;?></td>
<td>
<?php echo Html::anchor('admin/merchmanagement/items/edit/'.$item->id, 'Edit');?>
<?php echo Html::anchor('admin/merchmanagement/items/delete/'.$item->id, 'Delete')?>
</td>
</tr>
<?php endforeach;?>
</table>

<?php echo Html::anchor('admin/merchmanagement/', 'Back to Merchandise Management');?>